﻿namespace AutoClickTool.Models
{
    /// <summary>
    /// 配置文件
    /// </summary>
    public class ActionConfigModel
    {
        /// <summary>
        /// 控制Key（按什么键触发或者停止）
        /// </summary>
        public string? Key { get; set; }
        /// <summary>
        /// 控制名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 是否食用定时器
        /// </summary>
        public bool? UseTimer { get; set; }
        /// <summary>
        /// 定时任务时间间隔
        /// </summary>
        public double? TimerInterval { get; set; }
        /// <summary>
        /// 是否为后台任务
        /// </summary>
        public bool? IsBackTask { get; set; }
        /// <summary>
        /// 程序名称
        /// </summary>
        public string? AppName { get; set; }
        /// <summary>
        /// 是否自动抬起
        /// </summary>
        public bool? AutoUp { get; set; }
        /// <summary>
        /// 点击配置
        /// </summary>
        public List<ClickConfigModel>? Click { get; set; }
    }
}
